Linear Search Code using Recursion in Python